package com.lcf.jwt.exception;


import com.lcf.jwt.emnus.ResultCode;

public class CustomException extends RuntimeException {
    private Integer code;

    public CustomException(ResultCode resultEnum) {
        super(resultEnum.getMsg());
        this.code = resultEnum.getCode();
    }


    public Integer getCode() {
        return code;
    }
}
